/* 修改浏览器默认的基础样式 */

// 公共样式变量
@base-font-size: 14px;
@global-bg-color: #f5f5f5;

html {
    width: 100%;
    height: 100%;
    font-size: @base-font-size;//全局设置font-size
    box-sizing: border-box;//全局设置box-sizing
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family:PingFangSC-Regular,Microsoft Yahei,SimSun,Sans-serif;
    width: 100%;
    height: 100%;
    font-size: @base-font-size;
    background-color:@global-bg-color;
    color: #333;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td ,div{
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}
address,
cite,
dfn,
em,
var {
    font-style: normal;
}
code,
kbd,
pre,
samp {
    font-family: couriernew, courier, monospace;
}
small {
    font-size: 0.75rem;
}
ul,
ol {
    list-style: none;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
sup {
    vertical-align: text-top;
}
sub {
    vertical-align: text-bottom;
}
legend {
    color: #000;
}
fieldset,
img {
    border: 0;
}
button,
input,
select,
textarea {
    font-size: 100%;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
.clearfix:after{
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    /* 触发 hasLayout */
    zoom: 1;
}
